package org.theSeed.mapper;

import org.apache.ibatis.annotations.Param;
import org.theSeed.mybatis.contract.SeedMapper;
import org.theSeed.pojo.po.SysRole;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_role】的数据库操作Mapper
* @createDate 2025-06-30 01:45:12
* @Entity org.theSeed.domain.SysRole
*/
public interface SysRoleMapper extends SeedMapper<SysRole> {
    /**
     * 根据userId获取角色
     * @param userId
     * @return
     */
    List<SysRole> findUserRoleByUserId(@Param("userId") String userId);
}




